import { createStore } from 'vuex'
import persistedstate from 'vuex-persistedstate'
import category from './modules/category'
import home from './modules/home'
import user from './modules/user'
import getters from './getters'
export default createStore({
  state: {},
  mutations: {},
  actions: {},
  getters,
  modules: { category, home, user },
  plugins: [
    persistedstate({
      key: 'xxx',
      paths: ['user']
    })
  ]
})
